package com.nanhai.buddhist.college.module.collegebase.controller.admin.classes.vo;

import com.nanhai.buddhist.college.framework.common.pojo.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 学校管理-班级分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ClassesPageReqVO extends PageParam {

    @ApiModelProperty(value = "班级编号")
    private String classesNumber;

    @ApiModelProperty(value = "班级名称")
    private String classesName;

    @ApiModelProperty(value = "班级代码")
    private String classesCode;

    @ApiModelProperty(value = "所属年级")
    private String classesGrade;

    @ApiModelProperty(value = "专业id")
    private String professionsId;

    @ApiModelProperty(value = "所属系部")
    private String departmentsId;

    @ApiModelProperty(value = "学院Id")
    private String collegeId;

    @ApiModelProperty(value = "开班时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] openingTime;


    @ApiModelProperty(value = "查询结束时间")
    private String openingEndTime;

    @ApiModelProperty(value = "查询开始时间")
    private String openingStartTime;

    @ApiModelProperty(value = "查询结束时间" ,hidden = true)
    private Date openingEndTimeDate;

    @ApiModelProperty(value = "查询开始时间",hidden = true)
    private Date openingStartDate;

}
